package com.aizhixin.lab.course.classes.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
public class LabReportInfoDomain {
    private String id;
    @ApiModelProperty(value = "学生名称")
    private String stuName;
    @ApiModelProperty(value = "课程名称")
    private String courseName;
    @ApiModelProperty(value = "提交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date commitTime;
    @ApiModelProperty(value = "章节名称")
    private String chapterName;
    @ApiModelProperty(value = "报告内容")
    private String content;
    @ApiModelProperty(value = "报告文件列表")
    private List<ReportFileDomain> reportFileDomainList=new ArrayList<>();
}
